package com.qfedu.knowledge.entity.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @ClassName DictValueBO
 * 字典表实体类
 * @Author ykx
 * @Date 2024/1/9 15:40
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = false)
@TableName("sys_dict_value_t")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DictValueBO extends BaseColumn {

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 字典类型
     */
    @TableField("item_code")
    private String itemCode;

    /**
     * 字典值
     */
    @TableField("value_code")
    private String valueCode;

    /**
     * 字典名称
     */
    @TableField("value_name")
    private String valueName;

    /**
     * 字典描述
     */
    @TableField("value_desc")
    private String valueDesc;

    /**
     * 索引
     */
    @TableField("value_index")
    private Integer valueIndex;


}
